//
//  ViewController.m
//  NavgationController
//
//  Created by sr Liu on 2020/7/15.
//  Copyright © 2020 sr Liu. All rights reserved.
//

#import "ViewController.h"
#import "SecondViewController.h"

@interface ViewController ()
@property (nonatomic, strong) NSMutableArray <NSString *>*tmpArr;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _tmpArr = [[NSMutableArray alloc] initWithObjects:@"0", @"1",@"2",nil];
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    
    SecondViewController *vc = [[SecondViewController alloc] init];
    vc.hidesBottomBarWhenPushed = YES;
    
    [self.navigationController pushViewController:vc animated:YES];

}

@end
